package klasy.powtorka;

public final class ImmutablePoint {
	
	private int x;
	private int y;
	
	public ImmutablePoint(int x, int y){
		this.x = x;
		this.y = y;
	}

	public int getX() {
		return x;
	}

	public int getY() {
		return y;
	}
	
	@Override
	public String toString(){
		return "[" + x + ", " + y + "]"; 
	}

}
